<?php

namespace app\mall\ui\table;

use suframe\thinkAdmin\ui\table\TableInterface;

/**
 * 会员等级设置表格
 */
class MallUserLevelSettingTable extends TableInterface
{
    public function header()
    {
        return [
            'flag'=> ['label' => '等级标识'],
            'name'=> ['label' => '等级名称'],
            'min_point'=> ['label' => '达到等级最低积分'],
            'icon'=> ['label' => '等级图标', 'type' => 'image'],
            'rule'=> ['label' => '等级规则'],
        ];
    }

    public function filters()
    {
        return [
            'flag' => ['label' => '等级标识', 'type' => 'text'],
        ];
    }
}